﻿package org.atk.components.treegridview {
	import org.aswing.ASColor;
	
	/**
	 * ...
	 * @author AeTky
	 */
	public class TreeGridViewColumn {
		private var value:*= null;
		private var headerBgColor:ASColor = null;
		private var headerBorderColor:ASColor = null;//line color too
		private var columnBgColor:ASColor = null;
		private var columnBorderColor:ASColor = null;//line color too
		private var size:int = 75;
		private var paintedWidth:int = 75;
		private var resizeable:Boolean=false;
		public function TreeGridViewColumn(value:*, size:int = 75, resizeable:Boolean = false, 
				headerBgColor:ASColor = null, 
				headerBorderColor:ASColor = null,
				columnBgColor:ASColor = null, 
				columnBorderColor:ASColor = null ) {
					
					
				
			this.value = value;
			this.size = size;
			this.resizeable = resizeable;
			this.headerBgColor = headerBgColor;
			this.headerBorderColor = headerBorderColor;
			this.columnBgColor = columnBgColor;
			this.columnBorderColor = columnBorderColor;
		}
		
		public function get Value():* { return value; }
		
		public function set Value(value:*):void {
			value = value;
		}
		
		public function get Size():int { return size; }
		
		public function set Size(value:int):void {
			size = value;
		}
		
		public function get Resizeable():Boolean { return resizeable; }
		
		public function set Resizeable(value:Boolean):void {
			resizeable = value;
		}
		
		public function get PaintedWidth():int { return paintedWidth; }
		
		public function set PaintedWidth(value:int):void {
			paintedWidth = value;
		}
		
		public function get HeaderBgColor():ASColor { return headerBgColor; }
		
		public function set HeaderBgColor(value:ASColor):void {
			headerBgColor = value;
		}
		
		public function get HeaderBorderColor():ASColor { return headerBorderColor; }
		
		public function set HeaderBorderColor(value:ASColor):void {
			headerBorderColor = value;
		}
		
		public function get ColumnBgColor():ASColor { return columnBgColor; }
		
		public function set ColumnBgColor(value:ASColor):void {
			columnBgColor = value;
		}
		
		public function get ColumnBorderColor():ASColor { return columnBorderColor; }
		
		public function set ColumnBorderColor(value:ASColor):void {
			columnBorderColor = value;
		}
		
	}
	
}